package com.feimeng.lovehulv.utils;

public class StringUtils {
	public static String shortContent(String content) {
		if (content != null) {
			if (content.length() > 56) {

				return content.substring(0, 55);
			} else {
				return content;
			}
		}
		return null;
	}

	public static boolean stringExist(String str) {
		if (str != null && !str.equals(""))
			return true;
		return false;
	}
}
